package com.designpattern.chain;

public class GroupLeader extends Manager {

    void handler(int day) {
        // 定义规则
        if (day <= 2) {
            System.out.println("GroupLeader 同意");
            return;
        }
        manager.handler(day);
    }
}
